/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package unp.sisEventos.util;

import com.google.gson.Gson;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 *
 * @author AngelAndres
 */
public class Utilitarios {

     public static String generarContextoJsonDesdeObject(Object _object) {
        return new Gson().toJson(_object);
    }
     public static String getFecha(){
         Date date = new Date();
         SimpleDateFormat formato = new SimpleDateFormat("MM/dd/yyyy");
         return formato.format(date);
     }
}
